using Godot;

namespace MyCraft2;

public partial class Main : Node
{
    public override void _EnterTree()
    {
        base._EnterTree();
        
        BlockInstances.Register();
        Block.BuildTextureArray();
        Chunk.ShaderMaterial.SetShaderParameter("texture_array", Block.TextureArray);
    }
}
